package com.luna.beans;

public class Phase {
    private int id;
    private String name;
    private String content;
    private int book_id;

    public Phase(String name, String content, int book_id) {
        this.name = name;
        this.content = content;
        this.book_id = book_id;
    }

    public Phase(int id, String name, String content, int book_id) {
        this.id = id;
        this.name = name;
        this.content = content;
        this.book_id = book_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    @Override
    public String
    toString() {
        return "Phase{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", book_id=" + book_id +
                '}';
    }
}
